package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallIntegralLog;
import org.linlinjava.litemall.db.domain.LitemallIntegralLogExample;

public interface LitemallIntegralLogMapper extends MPJBaseMapper<LitemallIntegralLog> {
    long countByExample(LitemallIntegralLogExample example);

    int deleteByExample(LitemallIntegralLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LitemallIntegralLog record);

    int insertSelective(LitemallIntegralLog record);

    LitemallIntegralLog selectOneByExample(LitemallIntegralLogExample example);

    LitemallIntegralLog selectOneByExampleSelective(@Param("example") LitemallIntegralLogExample example, @Param("selective") LitemallIntegralLog.Column ... selective);

    List<LitemallIntegralLog> selectByExampleSelective(@Param("example") LitemallIntegralLogExample example, @Param("selective") LitemallIntegralLog.Column ... selective);

    List<LitemallIntegralLog> selectByExample(LitemallIntegralLogExample example);

    LitemallIntegralLog selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallIntegralLog.Column ... selective);

    LitemallIntegralLog selectByPrimaryKey(Integer id);

    LitemallIntegralLog selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LitemallIntegralLog record, @Param("example") LitemallIntegralLogExample example);

    int updateByExample(@Param("record") LitemallIntegralLog record, @Param("example") LitemallIntegralLogExample example);

    int updateByPrimaryKeySelective(LitemallIntegralLog record);

    int updateByPrimaryKey(LitemallIntegralLog record);

    int logicalDeleteByExample(@Param("example") LitemallIntegralLogExample example);

    int logicalDeleteByPrimaryKey(Integer id);

}
